package system

import (
	"github.com/gin-gonic/gin"
	"ruoyi-go/app/admin/repository"
)

func InitUserWechat(e *gin.RouterGroup) {
	auth := e.Group("system/user/wechat")
	{
		auth.POST("/page", repository.WechatRepo.Page)
		auth.PUT("/save", repository.WechatRepo.Save)
		auth.POST("/edit", repository.WechatRepo.Edit)
		auth.DELETE("/del", repository.WechatRepo.Del)
		auth.GET("/detail", repository.WechatRepo.Detail)
	}
}
